package transaction.lcn;

import com.codingapi.txlcn.tc.config.EnableDistributedTransaction;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import tk.mybatis.spring.annotation.MapperScan;

@EnableFeignClients
@SpringCloudApplication
@MapperScan(basePackages = {"transaction.lcn.storage.mapper"})
@EnableDistributedTransaction  //lcn 分布式事务配置
public class LcnStorageApplication {
    public static void main(String[] args) {
        SpringApplication.run(LcnStorageApplication.class);
    }
}